package IOStreamStudy.bufferReader;

import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;

public class BufferReaderDemo  {
    public static void main(String[] args) throws IOException {
        String file = "D:\\all_projects\\java_projects\\java_ij\\springMVC\\NetWork\\src" +
                "\\cn\\usts\\edu\\IOStreamStudy\\bufferReader\\a.txt";
        BufferedReader bufferedReader = new BufferedReader(new FileReader(file));
        String line;
        while ((line = bufferedReader.readLine())!=null){
            System.out.println(line);
        }

    }
}
